<div class="am-modal-dialog">
    <div class="am-modal-hd">
        <a href="<?php echo empty($winner->links) ? 'javascript:;' : $winner->links; ?>" class="linkto"><i class="iconfont">&#xe631;</i></a>
        <a href="javascript: void(0)" class="am-close" data-am-modal-close>&times;</a>
    </div>
    <div class="am-modal-bd">
        <div class="lottery-pic">
            <img src="<?php echo $this->config->show_image_url($winner->image, '300-300'); ?>" />
        </div>
        <p>恭喜您！获得</p>
        <p><?php echo $winner->prize_name; ?></p>
    </div>
    <div class="am-modal-fd">
        <p><?php 
                switch ($winner->status) {
                    case 1:
                        echo '确认领取奖品';
                        break;
                    case 2:
                        echo '请到现场领奖';
                        break;
                    case 3:
                        echo '颁奖成功！';
                        break;
                    default:
                        break;
                }
            ?></p>
        <div>
        <button class="am-btn am-btn-block winners-detail-close" data-am-modal-close>确定</button>
        </div>
    </div>
</div>